var React = require("react");
//var tempate = require("./Cat.jsx.html");
class Dog extends React.Component{
    constructor(props){
        super(props);
        this.state = {
            title:"小刚",
            data:[{
                a:"1",
                b:2
            }]
        };
        this.name = this.props.name;
    }
    componentDidMount(){
        console.info(this.props);
    }
    render(){
        return <div>
            我是一只小狗
        </div>
    }
}
module.exports = Dog;
